//
//  ViewController.m
//  梁森看视频
//
//  Created by chenleping on 2018/9/18.
//  Copyright © 2018年 DSY. All rights reserved.
//

#import "ViewController.h"

#import "NextViewController.h"

@interface ViewController ()


@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    self.view.backgroundColor = [UIColor yellowColor];
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self presentViewController:[NextViewController new] animated:YES completion:nil];
}

@end
